package com.sansi.bleFloodlight.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.sansi.bleFloodlight.R;

public class ConnectFailResonAdapter extends BaseQuickAdapter<String, BaseViewHolder> {

    public ConnectFailResonAdapter() {
        super(R.layout.layout_item_connect_fail);
    }

    @Override
    protected void convert(BaseViewHolder helper, String content) {
        helper.setText(R.id.tv_id,(helper.getLayoutPosition()+1)+"")
                .setText(R.id.tv_content,content);
    }
}
